package com.cn.por.auto.datasource.entity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
/**
 * <p>数据源管理DO</p>
 * @author xx
 * @since 2024-11-02
 */
@Data
@TableName("data_source_config_a")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class DataSourceConfigADO  implements Serializable {

    private static final long serialVersionUID = 1L; 
 
    /**
     * 数据源配置id
     */
    @TableId(value = "data_source_config_id", type = IdType.ASSIGN_UUID)
    private String dataSourceConfigId; 
 
    /**
     * 数据源名称
     */
    @TableField("data_name")
    private String dataName; 
 
    /**
     * 用户名
     */
    @TableField("username")
    private String username; 
 
    /**
     * 密码
     */
    @TableField("psw")
    private String psw; 
 
    /**
     * 路径
     */
    @TableField("url")
    private String url; 
 
    /**
     * 驱动名称
     */
    @TableField("driver")
    private String driver; 
 
    /**
     * 有效状态
     */
    @TableField("vali_flag")
    private String valiFlag; 
 
    /**
     * 创建时间
     */
    @TableField("crt_time")
    private Date crtTime; 
 
    /**
     * 数据库类型mysql oracle vertica
     */
    @TableField("data_type")
    private String dataType;
    @TableField("column_sql")
    private String columnSql;

    @TableField("table_sql")
    private String tableSql;
    @TableField("framework_type")
    private String frameworkType;
}